<!--{loop $_QUERY[mydata] $val}-->
<li><a href="{$_modules[article][url]}article.php?articleid=$val[articleid]" title="$val[subject]"><!--{sublen $val[subject],17}--></a></li>
<!--{/loop}-->